package com.sc.Vast_pojo.domain;

import cn.hutool.core.date.DateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author Vast
 * @version 1.0
 * @function:设备分类管理表
 */
@SuppressWarnings({"all"})
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName("vast_group")
public class DeviceGroup implements Serializable {
    private Integer id; //主键
    @TableField("`group`")
    private String group; //设备分类，与设备表关联
    private Integer status; //设备状态 1为正常，0为维护中
    private String adder; //添加人
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime addTime; //添加时间
}
